package com.lolan.training;

import org.jodconverter.boot.autoconfigure.JodConverterLocalAutoConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Import({JodConverterLocalAutoConfiguration.class})
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableTransactionManagement
//@MapperScan({"com.inspur.insuite.odoo.mapper.auto",
//		"com.inspur.insuite.workflow.mapper", "com.inspur.insuite.search.mapper"})
@EnableCaching
@Configuration
@EnableAsync
public class SpringApp {

	public static void main(String[] args) {
		SpringApplication.run(SpringApp.class, args);
	}

}